//
//  TransactionDetailsCell.swift
//  newshaohuo
//
//  Created by shaohuo on 2018/2/6.
//  Copyright © 2018年 shaohuo. All rights reserved.
//

import Foundation

class TransactionDetailsCell: UITableViewCell {
    
    @IBOutlet weak var pay_Channel: UILabel!
    @IBOutlet weak var payEventLabel: UILabel!
    @IBOutlet weak var amountLabel: UILabel!
    @IBOutlet weak var createTimeLabel: UILabel!
    
    var _transaItem : TransactionDetailsItem?
    
    var transaItem : TransactionDetailsItem? {
        get {
            return _transaItem
        }
        set {
            _transaItem = newValue
            pay_Channel.text = _transaItem?.pay_channel
            payEventLabel.text = _transaItem?.pay_event
            amountLabel.text = _transaItem?.amount
            createTimeLabel.text = _transaItem?.create_time
        }
    }
    
}
